package com.kedi.archivescenter.write.dao.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.Map;

@Mapper
public interface WriteVillageMapper {
    @Insert("insert into village (communityc_id)values(#{communityc_id})")
    @Options(useGeneratedKeys = true,keyProperty = "village_id")
    Integer createvillage(Map map);
}
